glsl: Add a comment
authorTimm Bäder <mail@baedert.org>
Thu, 8 Oct 2020 15:58:37 +0000 (17:58 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:12 +0000 (15:06 -0400)
gsk/resources/glsl/preamble.glsl

index 091438b3b4a4e63fdc88ae9bf82e8e824c2bf7ef..47cc21b004da6755062d43a8342848b4a436d825 100644 (file)
@@ -15,7 +15,7 @@ precision highp float;
 
 struct GskRoundedRect
 {
-  vec4 bounds;
+  vec4 bounds; // Top left and bottom right
   // Look, arrays can't be in structs if you want to return the struct
   // from a function in gles or whatever. Just kill me.
   vec4 corner_points1; // xy = top left, zw = top right